<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="orderId" name="orderId" th:value="${orderInfo.orderId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单编号：</label>
                            <div class="col-sm-8">
                                <input id="orderSerialNo" name="orderSerialNo" th:value="${orderInfo.orderSerialNo}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货地址：</label>
                            <div class="col-sm-8">
                                <input id="orderAddress" name="orderAddress" th:value="${orderInfo.orderAddress}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单金额：</label>
                            <div class="col-sm-8">
                                <input id="orderAmount" name="orderAmount" th:value="${orderInfo.orderAmount}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">下单时间：</label>
                            <div class="col-sm-8">
                                <input id="orderCreateTime" name="orderCreateTime"
                                       th:value="${orderInfo.orderCreateTime}" class="form-control" type="text"
                                       readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">快递名称：</label>
                            <div class="col-sm-8">
                                <input id="expressName" name="expressName" th:value="${orderInfo.expressName}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">快递单号：</label>
                            <div class="col-sm-8">
                                <input id="expressNo" name="expressNo" th:value="${orderInfo.expressNo}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">下单用户IP：</label>
                            <div class="col-sm-8">
                                <input id="userIp" name="userIp" th:value="${orderInfo.userIp}" class="form-control"
                                       type="text" readonly="readonly">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">支付时间：</label>
                            <div class="col-sm-8">
                                <input id="orderPayTime" name="orderPayTime" th:value="${orderInfo.orderPayTime}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单备注：</label>
                            <div class="col-sm-8">
                                <input id="orderRemark" name="orderRemark" th:value="${orderInfo.orderRemark}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">支付方式:</label>
                            <div class="col-sm-8">
                                <input id="orderPayType" name="orderPayType" th:value="${orderInfo.orderPayType}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">支付状态:</label>
                            <div class="col-sm-8">
                                <input id="orderPayStatus" name="orderPayStatus" th:value="${orderInfo.orderPayStatus}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单状态：</label>
                            <div class="col-sm-8">
                                <input id="orderStatus" name="orderStatus" th:value="${orderInfo.orderStatus}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人电话：</label>
                            <div class="col-sm-8">
                                <input id="receiverTel" name="receiverTel" th:value="${orderInfo.receiverTel}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">下单用户：</label>
                            <div class="col-sm-8">
                                <input id="userId" name="userId" th:value="${orderInfo.userId}" class="form-control"
                                       type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货人名称：</label>
                            <div class="col-sm-8">
                                <input id="userNickname" name="receiverName" th:value="${orderInfo.userNickname}"
                                       class="form-control" type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">邮编：</label>
                            <div class="col-sm-8">
                                <input id="zipCode" name="zipCode" th:value="${orderInfo.zipCode}" class="form-control"
                                       type="text" readonly="readonly">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收货时间：</label>
                            <div class="col-sm-8">
                                <input id="orderReceivedTime" name="orderReceivedTime"
                                       th:value="${orderInfo.orderReceivedTime}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="button" onclick="'javascript:ship(\''+${orderInfo.orderId}+'\');'" class="btn btn-primary">立即发货</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/fx/orderInfo/orderDetail.js">
</script>
</body>
</html>
